package com.itheima.excel.service;

import com.itheima.domain.Student;
import com.itheima.excel.dao.ExcelDaoImpl;

import java.io.IOException;
import java.util.ArrayList;

public class ExcelServiceImpl implements IExcelService{

    ExcelDaoImpl excelDao = new ExcelDaoImpl();

    @Override
    public ArrayList<Student> getlist() throws IOException, ClassNotFoundException {
        return  excelDao.getlist();
    }
}
